
def x = [2..6]

println x

def autoAdjustMap = [amount51 : 1]
//def autoAdjustMap = [:]

println autoAdjustMap.containsKey('amount50')

def c = (2..2)
def ori = autoAdjustMap?.collect { key, value ->
    [(key): value]
}.inject { prev, curr -> prev + curr }

println ori
